import { post } from '@/utils/request';
import { ResponseBodyType } from '../typing';

// 添加规则
export async function addSjMode(params = {}) {
  return post('/sjModel/addSjMode', params);
}

// 查询规则
export async function querySjRule(params: any) {
  return post('/sjModel/querySjRule', params);
}

// 删除规则
export async function deleteSjRule(params: any) {
  return post('/sjModel/deleteSjRule', params);
}

// 修改规则
export async function updateSjRule(params: any) {
  return post('/sjModel/updateSjRule', params);
}
